package tt.cn.spring.mapper;

import tt.cn.spring.bin.User;

import java.util.List;

/**
 * Created by Admin on 12/30 0030.
 */
public interface UserMapper {
    void add(User user);
    void delete(int id);
    void update(User user);
    User getById(int id);
    List<User> getAll();
}
